package xzy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("grade")
public class Grade {
    private int id;
    private String gradeName;
    private String gradeDesc;

    public Grade(String gradeName, String gradeDesc) {
        this.gradeName = gradeName;
        this.gradeDesc = gradeDesc;
    }
}
